#include<stdio.h>
#include<stdlib.h>
#include<time.h>
int main()
{
	srand((int)time(NULL));
	int i ,flag=0,n=0;
	int one, two, sum, temp_sum=0;
	for(i=0;i<7;i++)
	{
		one = rand() % 6 + 1;
		two = rand() % 6 + 1;
		printf("one=%d\ntwo=%d\n\n", one, two);
		sum = one + two;
		if (n = 0){
			if (sum == 7 || sum == 11){ flag = 1; break; }
			if (sum == 2 || sum == 3 || sum == 12){ flag = 0; break; }
			temp_sum = sum;
			
			continue;
		}
		else
		{
			
			if (temp_sum == sum){ flag = 1; break; }
			temp_sum = sum;
		}
	}
	if (flag == 0)printf("you lose!\n");
	else printf("you win!\n");
	return 0;
}